package com.me.mvc.model.entity;

import java.util.Date;

/**
 * Created by roman on 22.03.15.
 */
public class Account {

    public Account() {
    }

    public Account(int id) {
        this.id = id;
    }

    public Account(int id, String name, Date startDate, Date endDate, Client client, Bank bank) {
        this.id = id;
        this.name = name;
        this.startDate = startDate;
        this.endDate = endDate;
        this.client = client;
        this.bank = bank;
    }

    private int id;

    private String name;

    private Date startDate;

    private Date endDate;

    private Client client;

    private Bank bank;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Client getClient() {
        return client;
    }

    public void setClient(Client client) {
        this.client = client;
    }

    public Bank getBank() {
        return bank;
    }

    public void setBank(Bank bank) {
        this.bank = bank;
    }
}
